package com.ruoyi.yanjing.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 天气信息对象 c5_weather
 * 
 * @author whz
 * @date 2024-12-04
 */
public class Weather extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 省份 */
    @Excel(name = "省份")
    private String province;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    /** 区 */
    @Excel(name = "区")
    private String adcode;

    /** 天气 */
    @Excel(name = "天气")
    private String weather;

    /** 温度 */
    @Excel(name = "温度")
    private String temperature;

    /** 风向 */
    @Excel(name = "风向")
    private String winddirection;

    /** 风力 */
    @Excel(name = "风力")
    private String windpower;

    /** 湿度 */
    @Excel(name = "湿度")
    private String humidity;

    /** 预报时间 */
    @Excel(name = "预报时间")
    private String reporttime;

    /** 拉取时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "拉取时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pulltime;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String weatherAlertExtra1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String weatherAlertExtra2;

    /** 备用字段3 */
    @Excel(name = "备用字段3")
    private String weatherAlertExtra3;

    /** 备用字段4 */
    @Excel(name = "备用字段4")
    private String weatherAlertExtra4;

    /** 备用字段5 */
    @Excel(name = "备用字段5")
    private String weatherAlertExtra5;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long createId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String createName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long updateId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String updateName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String accountId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setAdcode(String adcode) 
    {
        this.adcode = adcode;
    }

    public String getAdcode() 
    {
        return adcode;
    }
    public void setWeather(String weather) 
    {
        this.weather = weather;
    }

    public String getWeather() 
    {
        return weather;
    }
    public void setTemperature(String temperature) 
    {
        this.temperature = temperature;
    }

    public String getTemperature() 
    {
        return temperature;
    }
    public void setWinddirection(String winddirection) 
    {
        this.winddirection = winddirection;
    }

    public String getWinddirection() 
    {
        return winddirection;
    }
    public void setWindpower(String windpower) 
    {
        this.windpower = windpower;
    }

    public String getWindpower() 
    {
        return windpower;
    }
    public void setHumidity(String humidity) 
    {
        this.humidity = humidity;
    }

    public String getHumidity() 
    {
        return humidity;
    }
    public void setReporttime(String reporttime) 
    {
        this.reporttime = reporttime;
    }

    public String getReporttime() 
    {
        return reporttime;
    }
    public void setPulltime(Date pulltime) 
    {
        this.pulltime = pulltime;
    }

    public Date getPulltime() 
    {
        return pulltime;
    }
    public void setWeatherAlertExtra1(String weatherAlertExtra1) 
    {
        this.weatherAlertExtra1 = weatherAlertExtra1;
    }

    public String getWeatherAlertExtra1() 
    {
        return weatherAlertExtra1;
    }
    public void setWeatherAlertExtra2(String weatherAlertExtra2) 
    {
        this.weatherAlertExtra2 = weatherAlertExtra2;
    }

    public String getWeatherAlertExtra2() 
    {
        return weatherAlertExtra2;
    }
    public void setWeatherAlertExtra3(String weatherAlertExtra3) 
    {
        this.weatherAlertExtra3 = weatherAlertExtra3;
    }

    public String getWeatherAlertExtra3() 
    {
        return weatherAlertExtra3;
    }
    public void setWeatherAlertExtra4(String weatherAlertExtra4) 
    {
        this.weatherAlertExtra4 = weatherAlertExtra4;
    }

    public String getWeatherAlertExtra4() 
    {
        return weatherAlertExtra4;
    }
    public void setWeatherAlertExtra5(String weatherAlertExtra5) 
    {
        this.weatherAlertExtra5 = weatherAlertExtra5;
    }

    public String getWeatherAlertExtra5() 
    {
        return weatherAlertExtra5;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setUpdateId(Long updateId) 
    {
        this.updateId = updateId;
    }

    public Long getUpdateId() 
    {
        return updateId;
    }
    public void setUpdateName(String updateName) 
    {
        this.updateName = updateName;
    }

    public String getUpdateName() 
    {
        return updateName;
    }
    public void setAccountId(String accountId) 
    {
        this.accountId = accountId;
    }

    public String getAccountId() 
    {
        return accountId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("province", getProvince())
            .append("city", getCity())
            .append("adcode", getAdcode())
            .append("weather", getWeather())
            .append("temperature", getTemperature())
            .append("winddirection", getWinddirection())
            .append("windpower", getWindpower())
            .append("humidity", getHumidity())
            .append("reporttime", getReporttime())
            .append("pulltime", getPulltime())
            .append("weatherAlertExtra1", getWeatherAlertExtra1())
            .append("weatherAlertExtra2", getWeatherAlertExtra2())
            .append("weatherAlertExtra3", getWeatherAlertExtra3())
            .append("weatherAlertExtra4", getWeatherAlertExtra4())
            .append("weatherAlertExtra5", getWeatherAlertExtra5())
            .append("createId", getCreateId())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateId", getUpdateId())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .append("accountId", getAccountId())
            .toString();
    }
}
